<div class="widget widget-listing our-agents">
	<?php if($agentInfo) { ?>
	<div class="content">
		<div class="agent">
			<div class="image">
				<?php if($agentInfo['AgentPhoto']) { ?>
					<img src="<?php echo $agentInfo['AgentPhoto']; ?>" alt="<?php echo $agentInfo['Name']; ?>">
				<?php } else { ?>
					<img src="<?php echo $this->config->item('HTTP_AGENTS_MEDIA_IMAGE'); ?>no-image.png" alt="">
				<?php } ?>
				
			</div>
			<div class="clearfix"></div>
			<!-- /.image -->
			<div class="name"><strong><?php echo strtoupper($agentInfo['Name']); ?></strong></div>
			<!-- /.name -->
			<div class="phone">
				<span class="muted">Mobile:</span> <strong><?php if(isset($agentInfo['Mobile'])){echo $agentInfo['Mobile'];} ?></strong>
			</div>
			<!-- /.phone -->
			<div class="email">
				<a href="mailto:<?php if(isset($agentInfo['Email'])) { echo $agentInfo['Email'];} else {echo "agent@jllresidential.com";} ?>"><strong><?php if(isset($agentInfo['Email'])) { echo $agentInfo['Email'];} else {echo "agent@jllresidential.com";} ?></strong></a>
			</div>
			<!-- /.email -->
			<div class="clearfix"></div>
		</div>
	<!-- /.agent -->
	</div>
<!-- /.content --> <?php } ?>
</div>
<!-- /.our-agents -->
